package com.mdxq.user.mapper;

import com.mdxq.user.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author WanJl
 * @version 1.0
 * @title UserMapper
 * @description
 * @create 2025/2/7
 */
@Mapper
public interface UserMapper {
    @Select("SELECT * FROM tb_user WHERE id=#{id}")
    User selectById(@Param("id") Long id);
}
